package com.jt9003.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.lang.String;

public class Warehouse {
    private Integer wareId;

    //单据号
    private String documentNo;

    private String wareConfirm;

    //录入人
    private String wareEntry;

    //录入时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date wareTime;

    private String drName;

    //药品数量
    private String wareAmount;

    private Integer pharmacyConfirmationStatus;

    private Integer warehouseConfirmationStatus;

    //备注
    private String wareRemarks;

    //单价
    private BigDecimal warePrice;

    //进货总价
    private BigDecimal warePriceTotal;

    //批号
    private String wareBatchNumber;

    private Integer businessType;

    private Date wareConfirmTime;

    private Drugs drugs;

    public Drugs getDrugs() {
        return drugs;
    }



    public void setDrugs(Drugs drugs) {
        this.drugs = drugs;
    }

    public Integer getWareId() {
        return wareId;
    }

    public void setWareId(Integer wareId) {
        this.wareId = wareId;
    }



    public String getWareConfirm() {
        return wareConfirm;
    }

    public void setWareConfirm(String wareConfirm) {
        this.wareConfirm = wareConfirm == null ? null : wareConfirm.trim();
    }

    public String getWareEntry() {
        return wareEntry;
    }

    public void setWareEntry(String wareEntry) {
        this.wareEntry = wareEntry == null ? null : wareEntry.trim();
    }

    public Date getWareTime() {
        return wareTime;
    }

    public void setWareTime(Date wareTime) {
        this.wareTime = wareTime;
    }

    public String getDrName() {
        return drName;
    }

    public void setDrName(String drName) {
        this.drName = drName == null ? null : drName.trim();
    }

    public String getWareAmount() {
        return wareAmount;
    }

    public void setWareAmount(String wareAmount) {
        this.wareAmount = wareAmount == null ? null : wareAmount.trim();
    }

    public Integer getPharmacyConfirmationStatus() {
        return pharmacyConfirmationStatus;
    }

    public void setPharmacyConfirmationStatus(Integer pharmacyConfirmationStatus) {
        this.pharmacyConfirmationStatus = pharmacyConfirmationStatus;
    }

    public Integer getWarehouseConfirmationStatus() {
        return warehouseConfirmationStatus;
    }

    public void setWarehouseConfirmationStatus(Integer warehouseConfirmationStatus) {
        this.warehouseConfirmationStatus = warehouseConfirmationStatus;
    }

    public String getWareRemarks() {
        return wareRemarks;
    }

    public void setWareRemarks(String wareRemarks) {
        this.wareRemarks = wareRemarks == null ? null : wareRemarks.trim();
    }

    public BigDecimal getWarePrice() {
        return warePrice;
    }

    public void setWarePrice(BigDecimal warePrice) {
        this.warePrice = warePrice;
    }

    public BigDecimal getWarePriceTotal() {
        return warePriceTotal;
    }

    public void setWarePriceTotal(BigDecimal warePriceTotal) {
        this.warePriceTotal = warePriceTotal;
    }

    public String getWareBatchNumber() {
        return wareBatchNumber;
    }

    public void setWareBatchNumber(String wareBatchNumber) {
        this.wareBatchNumber = wareBatchNumber == null ? null : wareBatchNumber.trim();
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public Date getWareConfirmTime() {
        return wareConfirmTime;
    }

    public void setWareConfirmTime(Date wareConfirmTime) {
        this.wareConfirmTime = wareConfirmTime;
    }

    public String getDocumentNo() {
        return documentNo;
    }

    public void setDocumentNo(String documentNo) {
        this.documentNo = documentNo;
    }
}